using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN TrangThaiSinhVienService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: TrangThaiSinhVienService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class TrangThaiSinhVienService : ITrangThaiSinhVienService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: trangthaisinhvien_id</para>
		/// <para>Output: TrangThaiSinhVienEntity</para>
		///</summary>
		public TrangThaiSinhVienEntity SelectOne(int trangthaisinhvien_id){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.SelectOne(trangthaisinhvien_id);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of TrangThaiSinhVienEntity</para>
		///</summary>
		public List<TrangThaiSinhVienEntity> SelectAll(){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of TrangThaiSinhVienEntity</para>
		///</summary>
		public List<TrangThaiSinhVienEntity> SelectAllFilter(string strFilter){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: TrangThaiSinhVienEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(TrangThaiSinhVienEntity o){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: TrangThaiSinhVienEntity</para>
		/// <para>Output: TrangThaiSinhVienEntity</para>
		///</summary>
		public TrangThaiSinhVienEntity SaveRet(TrangThaiSinhVienEntity o){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of TrangThaiSinhVienEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<TrangThaiSinhVienEntity> list){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of TrangThaiSinhVienEntity</para>
		/// <para>Output: List of TrangThaiSinhVienEntity</para>
		///</summary>
		public List<TrangThaiSinhVienEntity> SaveListRet(List<TrangThaiSinhVienEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: TrangThaiSinhVienEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(TrangThaiSinhVienEntity o){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of TrangThaiSinhVienEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<TrangThaiSinhVienEntity> list){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Updatetrangthai_id</para>
		/// <para>Input: Newtrangthai_id,trangthaisinhvien_id</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Updatetrangthai_id(int Newtrangthai_id,int trangthaisinhvien_id){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Updatetrangthai_id(Newtrangthai_id,trangthaisinhvien_id);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Updatesinhvien_id</para>
		/// <para>Input: Newsinhvien_id,trangthaisinhvien_id</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Updatesinhvien_id(int Newsinhvien_id,int trangthaisinhvien_id){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Updatesinhvien_id(Newsinhvien_id,trangthaisinhvien_id);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Updatengaycapnhat</para>
		/// <para>Input: Newngaycapnhat,trangthaisinhvien_id</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Updatengaycapnhat(DateTime Newngaycapnhat,int trangthaisinhvien_id){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Updatengaycapnhat(Newngaycapnhat,trangthaisinhvien_id);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Updatengayquyetdinh</para>
		/// <para>Input: Newngayquyetdinh,trangthaisinhvien_id</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Updatengayquyetdinh(DateTime Newngayquyetdinh,int trangthaisinhvien_id){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Updatengayquyetdinh(Newngayquyetdinh,trangthaisinhvien_id);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: TrangThaiSinhVienEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(TrangThaiSinhVienEntity o){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: trangthaisinhvien_id</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int trangthaisinhvien_id){
			TrangThaiSinhVienDAO dao = new TrangThaiSinhVienDAO();
			return dao.DeleteByID(trangthaisinhvien_id);
		}
		#endregion

		#region Select join to SinhVienTrangThai functions
		#endregion

		#region Select join to SinhVien functions
		#endregion

		#region Select join to TrangThai functions
		#endregion

		#region Select,delete by trangthaisinhvien_id functions
		#endregion

		#region Select,delete by trangthai_id functions
		#endregion

		#region Select,delete by sinhvien_id functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END TrangThaiSinhVienWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

